package com.tansuo365.test1.bean.kucunbean;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.tansuo365.test1.bean.InfoData;
import com.tansuo365.test1.bean.otherbean.DWuliao;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Transient;
import java.io.Serializable;
import java.util.Date;

/**
 * chuku xiangqing
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ChukuDetails implements Serializable,InfoData {

    private Integer id;

    private String dalei;

    private String wuliaobianma;

    private String mingchengguige; //名称规格

    private String danwei;

    private Double chukushuliang; //出库数量

    private Double tuihuishuliang; //退回数量

    private Double huishoushuliang; //回收数量

    private String chukukufang;

    private String beizhu;

    private String kehuishou; //是否可回收 (空瓶空桶)

    private String huishouxiang; //回收项 回收的是啥东西

    private String xiangmumingcheng; //项目名称

    @Transient
    private String lingliaodanwei; //领料单位

    @Transient
    private Integer o_id; //物料类别id

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Transient
    private String s_btime;
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Transient
    private String s_etime;

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createtime;

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updatetime;

    private Integer zongzhangid;

    @Transient
    private String sort;
    @Transient
    private String order;

}